Fix 64-bit debug build.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 31 Jan 2006 13:29:26 +0000 (14:29 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 31 Jan 2006 13:29:26 +0000 (14:29 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/svm/instrlen.c

index 526ee7ac41fb342b81bd2b1e09577c07247215f7..4466ae7b4615e5a6724b5c548e462dd22f57b25a 100644 (file)
@@ -427,9 +427,9 @@ done:
     return length;
 
 cannot_emulate:
-    DPRINTF("Cannot emulate %02x at address %x (eip %x, mode %d)\n",
-        b, _regs.eip, regs->eip, mode);
-        svm_dump_inst(_regs.eip);
+    DPRINTF("Cannot emulate %02x at address %lx (eip %lx, mode %d)\n",
+            b, (unsigned long)_regs.eip, (unsigned long)regs->eip, mode);
+    svm_dump_inst(_regs.eip);
     return (unsigned long)-1;
 }
 #endif /* CONFIG_SVM */